﻿ 
namespace Core.Items.Modules
{
    /*

		MetaGroup                      = Armor
		Group                          = ArmorRepairers
		Size                           = Medium
		Module                         = sapphire vanguard medium armor repairer
		CpuUsage                       = 44.00 TF
		ReactorUsage                   = 90.00 RP
		Type                           = Active
		Slot                           = Legs
		TechnologicalLevel             = T2+
		Mass                           = 675.00 kg
		PackedVolume                   = 0.75 U
		Volume                         = 1.50 U
		AccumulatorConsumption         = 308.00 AP
		CycleTime                      = 15.00 sec
		Repair                         = 189.0 HP
    */

    using System;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Extensions;
    using Features;
    
    /// <summary>
    /// Sapphire Vanguard medium armor repairer module class
    /// </summary>
    /// <remarks>File generated on 31/10/2011 16:00:53</remarks>
    public sealed class SapphireVanguardMediumArmorRepairer : ModuleBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="SapphireVanguardMediumArmorRepairer"/> class.
        /// </summary>
        public SapphireVanguardMediumArmorRepairer()
            : base(
            "Sapphire Vanguard medium armor repairer",
            "",
            ModuleMetaGroupsEnum.Armor,
            ModuleGroupsEnum.ArmorRepairers,
            TechnologyLevelsEnum.Level2|TechnologyLevelsEnum.Elite,
            SizesEnum.Medium,
            new LazyFeature[] { 
				new LazyFeature(typeof(ArmorModuleCpuUsage<double>),44.00),
				new LazyFeature(typeof(ArmorModuleReactorUsage<double>),90.00),
				new LazyFeature(typeof(ModuleMass<double>),675.00),
				new LazyFeature(typeof(ArmorRepairAccumulatorUsage<double>),308.00),
				new LazyFeature(typeof(ArmorRepairCycleTime<double>),15.00),
				new LazyFeature(typeof(ArmorRepairAmount<double>),189.0), },
            null,
            new IModifier[] { 
				new Modifier( FeatureTypesEnum.Robot, FeaturesEnum.RobotMass, 675.00 ){ IsVisible = false }, } )
        {
        }

        /// <summary>
        /// Obtains the activation type
        /// </summary>
        public override ModuleActivationTypesEnum ActivationType
        {
            get { return ModuleActivationTypesEnum.Active; }
        }
        /// <summary>
        /// Obtains the module slot group 
        /// </summary>
        public override SlotGroupsEnum SlotGroup
        {
            get { return SlotGroupsEnum.Legs; }
        }
        /// <summary>
        /// Obtains the module slot type 
        /// </summary>
        public override SlotTypesEnum SlotType
        {
            get { return SlotTypesEnum.Modules; }
        }
    }
}